#define _CRT_SECURE_NO_WARNINGS 1
#pragma warning(disable:6031)

#include "Queue.h"

static void Test1(void)
{
	Queue que;
	QueueInit(&que);
	QueuePush(&que, 1);
	QueuePush(&que, 2);
	QueuePush(&que, 3);
	QueuePush(&que, 4);
	QueuePush(&que, 5);
	QueuePop(&que);
	QueuePop(&que);
	QueuePop(&que);
	QueuePop(&que);
	QueuePop(&que);
	//QueuePop(&que);
}

static void Test2(void)
{
	Queue que;
	QueueInit(&que);
	QueuePush(&que, 1);
	QueuePush(&que, 2);
	QueuePush(&que, 3);
	QueuePush(&que, 4);
	QueuePush(&que, 5);
	//printf("%zu\n", QueueSize(&que));
	//printf("%d %d\n", QueueFront(&que), QueueBack(&que));
	Queuedestroy(&que);
}

int main()
{
	//Test1();
	Test2();
	return 0;
}